package org.FaPe3D.utils
{
	import org.FaPe3D.Adapter;
	
	public class MouseOverManager
	{
		public static function rollOver(e:*)
		{	
			if(Adapter.getCurrentAdapter().viewports != null)
			{	
				Adapter.getCurrentAdapter().viewports.getDefaultViewport().buttonMode = true;
				Adapter.getCurrentAdapter().viewports.getDefaultViewport().useHandCursor = true;
			}
		}
		
		public static function rollOut(e:*)
		{
			if(Adapter.getCurrentAdapter().viewports != null)
			{	
				Adapter.getCurrentAdapter().viewports.getDefaultViewport().buttonMode = false;
				Adapter.getCurrentAdapter().viewports.getDefaultViewport().useHandCursor = false;
			}
		}

	}
}